<f:view id="ajaxEcho" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
	<h:head />
	<title><h:outputText value="#{msg['pessoa.cadastrar']}" /> </title>
	<h:body>
		<ui:composition template="/template/template.xhtml">
		<ui:define name="corpo">
		<p:outputLabel  value="#{msg['pessoa.cadastrar']}"/>
		<h:form id="formAdicionar" enctype="multipart/form-data">
			<ui:include src="/paginas/pessoa/form.xhtml"/><br/>
			<p:commandButton id="salvar" value="#{msg['botao.salvar']}"	action="#{pessoaController.salvar}" ajax="false" icon="ui-icon-disk"/>
			<p:commandButton id="voltar" value="#{msg['botao.voltar']}"	action="/paginas/pessoa/listarPessoa"  ajax="false" immediate="true" process="@this" icon="ui-icon-arrowreturn-1-w"/>
		</h:form>
		</ui:define>
		</ui:composition>
	</h:body>
</f:view>